﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Frontend.Master" Inherits="System.Web.Mvc.ViewPage<IPagedList<sp_GetNewsResult>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
     <table width="100%" border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse;border-color: #CCCCCC">
        <tr>
            <td align="center">
                <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="1%" class="br3">
                                        &nbsp;
                                    </td>
                                    <td width="22%" align="left" class="style2a">
                                        <strong>Tin tức</strong>
                                    </td>
                                    <td width="3%" class="br4" align="left">
                                        <div class="lprefix"></div>
                                    </td>
                                    <td width="74%" class="style2b">
                                         &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
        <tr>
            <td style="padding:0px 7px 7px 7px">
                <div class="newslist" id="newslist">
                    <% Html.RenderPartial("List", this.Model);  %>
                </div>
            </td>
        </tr>
    </table>
    
    
    <script type="text/javascript">

        function beginPaging(args) {
            // Animate
            $('#newslist').fadeOut('normal');
        }

        function successPaging() {
            // Animate
            $('#newslist').fadeIn('normal');
        }

        function failurePaging() {
            alert("Could not retrieve products.");
        }
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
